package com.hsgene.commit.domain.dto;

import java.io.Serializable;

/**
 * 商品评论统计信息
 *
 * @author wangbing
 * @version 1.0, 2018/7/23
 */
public class CommentTagDto implements Serializable {

    private static final long serialVersionUID = 2516240194124584168L;
    /**
     * 标签code（对应评论星级）
     */
    private Integer tagCode;

    /**
     * 标签名称（好评、差评、有图、全部等）
     */
    private String tagName;

    /**
     * 标签对应类别数量
     */
    private Integer count;

    public CommentTagDto() {
    }

    public CommentTagDto(Integer tagCode, String tagName) {
        this.tagCode = tagCode;
        this.tagName = tagName;
        this.count = 0;
    }

    public CommentTagDto(Integer tagCode, String tagName, Integer count) {
        this.tagCode = tagCode;
        this.tagName = tagName;
        this.count = count;
    }

    public Integer getTagCode() {
        return tagCode;
    }

    public void setTagCode(Integer tagCode) {
        this.tagCode = tagCode;
    }

    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
}
